﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace ChoMy.Models.Data
{
    public class PostInGroup
    {
        [Key, Column(Order = 0)]
        public int PostId { get; set; }
        public virtual Post Post { get; set; }

        [Key, Column(Order = 1)]
        public int PostGroupId { get; set; }
        public virtual PostGroup PostGroup { get; set; }
    }
}